# Defines.py: game constants
# Written by Victor Luna Freire - victorclf@live.com
# Copyright (c) Victor Luna Freire. All rights reserved.
# Sunday, June 22, 2009 00:00:00 PM
# Python 2.6.2
import pygame

 # The game window
GAME_VERSION = "1.00"
WINDOW_TITLE = 'Graphaze - Version %s' % GAME_VERSION

# Display constants
SCREEN_WIDTH = 640
SCREEN_HEIGHT = 480
SCREEN_BPP = 32
#SCREEN_FLAGS = 0
SCREEN_FLAGS = pygame.FULLSCREEN

SCREEN_CENTER = (SCREEN_WIDTH / 2, SCREEN_HEIGHT / 2)

# The raycaster projection plane
PROJECTION_WIDTH = SCREEN_WIDTH
PROJECTION_HEIGHT = SCREEN_HEIGHT

# World constants
CUBE_SIZE = PROJECTION_WIDTH / 5  # size of the world's cubes
PLAYER_HEIGHT = CUBE_SIZE / 2
FOV = 60.0  # field of view

MAP_START_POS_X = 180
MAP_START_POS_Y = 180
MAP_START_POS_ANGLE = 0.0

# Game settings
NEW_GAME_TUTORIAL = True
ENABLE_WORLD_OBJECTS = False
DEFAULT_MAZE_WIDTH = 100
DEFAULT_MAZE_HEIGHT = 100
BUILD_CELL_SPEED = 10 #number of cells built per second

SIZES = ((5, 5),    #predefined maze sizes
         (10, 10),
         (15, 10),
         (40, 25),
         (50, 50),
         (100, 100))
PREDEFINED_SIZES = len(SIZES) #maximum is the number of lowercase letters in our alphabet!


MONSTEREDIT = False

# Maze Player AI settings 
DEFAULT_MAZE_PLAYER_AI_TURN_SPEED = 75
DEFAULT_MAZE_PLAYER_AI_MOVE_SPEED = 300
MAZE_PLAYER_AI_TURN_SPEED_INTERVAL = (1, 1200)
MAZE_PLAYER_AI_MOVE_SPEED_INTERVAL = (1, 8000)
MAZE_PLAYER_AI_TURN_SPEED_INCREMENT = 40
MAZE_PLAYER_AI_MOVE_SPEED_INCREMENT = 600

#SOUND CONFIG
SOUND = True


#Unused
#DEAD_SCREEN_TIME = 9000 



